package piwan;

public class WorldRenderer {
	public WorldRenderer( MainWindow win, GameState gs ) {
		this.gs = gs;
		
		sold = new SoldierRenderer(win, this.gs);
		plane = new PlaneRenderer(win);
		borders = new BorderRenderer(win, gs);
	}
	
	public void render() {
		plane.render();
		borders.render();
		sold.render();
	}
	
	public SoldierRenderer	getSoldierRenderer() { return sold; }
	public PlaneRenderer	getPlaneRenderer() { return plane; }
	public BorderRenderer	getBorderRenderer() { return borders; }
	
	
	private SoldierRenderer sold = null;
	private PlaneRenderer	plane = null;
	private BorderRenderer	borders = null;
	private GameState		gs = null;
}
